import com.fasterxml.jackson.databind.util.LinkedNode;

class Solution {
    public static void twoSum(int[] nums, int target) {
        for(int i=0;i<nums.length;i++){
            for(int j=i+1;j<nums.length-1;j++){
                if(nums[i]+nums[j]==target){
                    System.out.println("i="+i+" j="+j);

                }
            }
        }

    }
    
    
    public LinkedNode addTwoNumbers(LinkedNode l1, LinkedNode l2) {
    	
    	
    	
    	
		return l2;

    }
    
    public static void main(String[] args) {
    	
    	int[] nums= {2,7,11,15};
    	twoSum(nums,9);
		
	}
}